<?php
/*
PHP Version 5.3+
*/
include_once 'search.php'; 

// 归属地查询
// 1.加载查询实例
$ipInstance = Ipf::getIpv4InstanceLocationMemory("D:\\databases\\ipdatacloud_city.dat");

// 2.查询ip地址
$ip = "180.124.68.28";
$infos = $ipInstance->get($ip);
echo $infos,"\n";